package com.springboot.project.entity;

import java.util.List;

public class ExcelTableTitle {
    private Integer id;
    private String name;
    private Integer parentId;
    private String start;
    private String end;
    private Integer type;
    private List<ExcelTableTitle> list;

    public List<ExcelTableTitle> getList() {
        return list;
    }

    public void setList(List<ExcelTableTitle> list) {
        this.list = list;
    }

    public ExcelTableTitle(Integer id, String name, Integer parentId) {
        this.id = id;
        this.name = name;
        this.parentId = parentId;
    }

    public ExcelTableTitle(Integer id, String name, Integer parentId, String start, String end, Integer type) {
        this.id = id;
        this.name = name;
        this.parentId = parentId;
        this.start = start;
        this.end = end;
        this.type = type;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public String getStart() {
        return start;
    }

    public void setStart(String start) {
        this.start = start;
    }

    public String getEnd() {
        return end;
    }

    public void setEnd(String end) {
        this.end = end;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
}
